Checks if there is a semicolon after the last expression of a non unit returning method.
